<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Exercise1.Models.Climb>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Climb
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Model.Name %></h2>

<div style="float:left; width:80%">
    Name: <%= Model.Name %><br />
    Length: <%= Model.Length %> Km<br />
    Altitude Gain: <%= Model.Gain %> m<br />
    Average Grade: <%= Model.AverageGrade %>%<br />
</div>
<div style="float:right; width:20%">
    <% Html.RenderPartial("_allclimbs", ViewData["Climbs"]); %>
</div>
<br class="clear" />

</asp:Content>
